package com.tecode.bean;

import lombok.Data;

import java.util.Date;
@Data
public class User {
    private Integer userId;

    private String account;

    private String phone;

    private String openid;

    private String nickname;

    private String head;

    private Integer sex;

    private Date createtime;

    private Integer typeid;

    private Integer codeid;

    private String info;

    private Long fans;

    private Long trafficvolume;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head == null ? null : head.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getCodeid() {
        return codeid;
    }

    public void setCodeid(Integer codeid) {
        this.codeid = codeid;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }

    public Long getFans() {
        return fans;
    }

    public void setFans(Long fans) {
        this.fans = fans;
    }

    public Long getTrafficvolume() {
        return trafficvolume;
    }

    public void setTrafficvolume(Long trafficvolume) {
        this.trafficvolume = trafficvolume;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", account='" + account + '\'' +
                ", phone='" + phone + '\'' +
                ", openid='" + openid + '\'' +
                ", nickname='" + nickname + '\'' +
                ", head='" + head + '\'' +
                ", sex=" + sex +
                ", createtime=" + createtime +
                ", typeid=" + typeid +
                ", codeid=" + codeid +
                ", info='" + info + '\'' +
                ", fans=" + fans +
                ", trafficvolume=" + trafficvolume +
                '}';
    }
}